﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="Albatross"
    targetNamespace="Albatross.NET/Cfg/Albatross.Shell.xsd"
    elementFormDefault="qualified"
    xmlns="Albatross.NET/Cfg/Albatross.Shell.xsd"
    xmlns:mstns="Albatross.NET/Cfg/Albatross.Shell.xsd"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">

	<xs:complexType name="Module">
		<xs:attribute name="Name" type="xs:string" use="required"/>
		<xs:attribute name="ClassName" type="xs:string" use="required"/>
		<xs:attribute name="Icon" type="xs:string"/>
		<xs:attribute name="IsEnabled" type="xs:boolean"/>
	</xs:complexType>
	
	<xs:complexType name="ModuleCollection">
		<xs:sequence minOccurs="0" maxOccurs="unbounded">
			<xs:element name="module" type="Module" />
		</xs:sequence>
	</xs:complexType>
	
	<xs:complexType name="Settings">
		<xs:attribute name="HelpUrl" type="xs:string" use="required"/>
	</xs:complexType>
	
	<xs:element name="shell">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="modules" type="ModuleCollection"/>
				<xs:element name="settings" type="Settings" />
			</xs:sequence>
		</xs:complexType>	
	</xs:element>
</xs:schema>
